package com.ld.security.common.mybatis.base.entity;

import com.ld.security.common.mybatis.anno.LabelKey;
import com.ld.security.common.mybatis.anno.LabelKeys;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class MsgEntity extends SuperEntity  implements EFromUserEntity{



    @ApiModelProperty("标题")
    @SqlKey(SqlCondition.like)
    private String label;

    @ApiModelProperty("内容")
    @SqlKey(SqlCondition.like)
    private String content;

    @ApiModelProperty("来源用户")
    @SqlKey(SqlCondition.eq)
    private String fromUser;

    @ApiModelProperty("来源用户昵称")
    @SqlKey(SqlCondition.like)
    private String fromUserName;


    @ApiModelProperty("来源用户头像")
    @SqlKey(SqlCondition.eq)
    private String fromUserLogo;



}
